﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class M_Dichvu
    {
        #region Fields

        private int dichvuID;
        private string tendichvu;
        private decimal giadichvu;
        private string mota;
        private DateTime ngaydang;

        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the Dichvu class.
        /// </summary>
        public M_Dichvu()
        {
        }

        /// <summary>
        /// Initializes a new instance of the Dichvu class.
        /// </summary>
        public M_Dichvu(string tendichvu, decimal giadichvu, string mota, DateTime ngaydang)
        {
            this.tendichvu = tendichvu;
            this.giadichvu = giadichvu;
            this.mota = mota;
            this.ngaydang = ngaydang;
        }

        /// <summary>
        /// Initializes a new instance of the Dichvu class.
        /// </summary>
        public M_Dichvu(int dichvuID, string tendichvu, decimal giadichvu, string mota, DateTime ngaydang)
        {
            this.dichvuID = dichvuID;
            this.tendichvu = tendichvu;
            this.giadichvu = giadichvu;
            this.mota = mota;
            this.ngaydang = ngaydang;
        }

        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the DichvuID value.
        /// </summary>
        public virtual int DichvuID
        {
            get { return dichvuID; }
            set { dichvuID = value; }
        }

        /// <summary>
        /// Gets or sets the Tendichvu value.
        /// </summary>
        public virtual string Tendichvu
        {
            get { return tendichvu; }
            set { tendichvu = value; }
        }

        /// <summary>
        /// Gets or sets the Giadichvu value.
        /// </summary>
        public virtual decimal Giadichvu
        {
            get { return giadichvu; }
            set { giadichvu = value; }
        }

        /// <summary>
        /// Gets or sets the Mota value.
        /// </summary>
        public virtual string Mota
        {
            get { return mota; }
            set { mota = value; }
        }

        /// <summary>
        /// Gets or sets the Ngaydang value.
        /// </summary>
        public virtual DateTime Ngaydang
        {
            get { return ngaydang; }
            set { ngaydang = value; }
        }

        #endregion
    }
}
